<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="include/base.jsp" %>

<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8" />
	<title>PMS项目管理系统</title>
	<link href="css/bootstrap.min.css" type="text/css" rel="stylesheet"/>
	<link type="text/css" href="css/mycss.css" rel="stylesheet"/>
</head>
<body class="body">
	<%@ include file="include/top.jsp" %>
	
	<div class="container">
		<div class="row">
		
			<jsp:include page="include/side.jsp">
				<jsp:param value="folder" name="tag"/>
			</jsp:include>
			<div class="span9">
				<ul class="breadcrumb" style="margin-top:15px;margin-bottom:0px;border-radius:3px 3px 0px 0px">
					<li class="active">
						<a href=""><i class="icon-th"></i>文件列表</a>
					</li>
					<li style="float:right">
						<a href="folder.jspx?_f=new_folder"><i class="icon-plus"></i>创建文件夹</a>
					</li>
				</ul>
				<div class="wall">
					<table class="table table-striped">
						<thead>
							<tr>
								<th width="30px"></th>
								<th width="60%">名称</th>
								<th width="20%">大小</th>
								<th>创建人</th>
							</tr>
						</thead>
						<tbody>
							<%
								List<Folder> folderList = (List<Folder>)session.getAttribute(Const.FOLDER_IN_SESSION);
								for(Folder f : folderList){
							 %>
							<tr>
								<td><img src="img/folder.png"/></td>
								<td><a href="file.jspx?_fi=file&id=<%=f.getFo_id() %>"><%=f.getFo_name() %></a></td>
								<td>11files at <%=f.getFo_size() %>MB</td>
								<td><%=f.getF_createMan() %></td>
							</tr>
							<% } %>
							<!--<tr>
								<td><img src="img/folder.png"/></td>
								<td><a href="">设计文档</a></td>
								<td>2files at 23.3MB</td>
								<td>Jack</td>
							</tr>
							<tr>
								<td><img src="img/folder.png"/></td>
								<td><a href="">重要资料</a></td>
								<td>113files at 34.3MB</td>
								<td>Jack</td>
							</tr>
							-->
						</tbody>
					</table>
				</div>
			</div>
			
		</div>
	</div>
	<script src="js/bootstrap.min.js" type="text/javascript"></script>
	<script src="js/jquery.js" type="text/javascript"></script>
</body>
</html>
